package com.model.demo.designmodel.adapter.login.v1.adapter;

import com.model.demo.designmodel.adapter.login.ResultMsg;

public class LoginForQQAdapter implements LoginAdapter {
    @Override
    public boolean support(Object adapter) {
        return adapter instanceof LoginAdapter;
    }

    @Override
    public ResultMsg login(String id, Object adapter) {
        System.out.println("QQ登录！");
        return null;
    }
}
